addToolResult

fun addToolResult(toolCallId: String, output: JsonElement, toolName: String = "tool")

Deprecated

Use addToolOutput instead.